package com.fzrskj.cloud.free.core.enums;

/**
 * OrderTypeEnum.
 *
 * @author zj.
 *         Created on 2019/2/1 0001.
 */
public enum OrderTypeEnum {
    /**
     * 新开通.
     */
    ADD("add", "新开通"),
    /**
     * 续费.
     */
    RENEW("renew", "续费"),
    /**
     * 升级.
     */
    UPDATE("update", "升级"),
    /**
     * 注销.
     */
    DELETE("delete", "注销");
    private String type;
    private String name;
    OrderTypeEnum(String type, String name) {
        this.type = type;
        this.name = name;
    }

    public Boolean equals(String comparisonType) {
        return this.type.equals(comparisonType);
    }
}
